<template>
  <div class="item-wrap-container" :class="{'skew-border': isSkew}">
<!--    <label v-if="isSkew" class="wrap-image-bg right-top-icon"></label>-->
    <slot></slot>
<!--    <label class="wrap-image-bg left-bottom-icon"></label>-->
  </div>
</template>
<script>
export default {
  name: 'ItemWrap',
  props: {
    isSkew: {
      type: Boolean,
      default: true
    }
  }
}
</script>
<style lang="less">
  .item-wrap-container {
    position: relative;
    padding: 0 60px;height: 100%;
    //border: 1px solid #3099D1;
    border-radius: 6px;
    background: rgba(48, 153, 209, .2);
    box-sizing: border-box;
    &.skew-border {
      border-radius: 6px 40px 6px 6px;
    }
    .left-bottom-icon {
      position: absolute;
      bottom: 13px;
      left: 13px;
    }
    .right-top-icon {
      position: absolute;
      top: 5px;
      right: 4px;
    }
  }
</style>
